package com.freeman.cement.service;

import com.freeman.cement.entity.Camera;
import com.freeman.cement.entity.CameraGroup;
import com.freeman.cement.entity.CameraSquare;
import com.freeman.cement.entity.ResponseResult;

public interface CameraService
{
   ResponseResult selectCamera(Camera camera, int pageNo, int pageSize);
   ResponseResult selectCameraByRegion(String regionIndexCode, Integer isEnabled, int pageNo, int pageSize);
   ResponseResult selectCameras(Integer deptId, Integer worksectionId, Integer deptDutyId, Integer isEnabled, Integer isRecvEnabled, String keyword, int pageNo, int pageSize);
   ResponseResult selectCameraByIndexCode(String cameraIndexCode);
   ResponseResult getCameraByIndexCode(String cameraIndexCode);
   ResponseResult getCameraCount();
   ResponseResult selectNotConfiguredCamera(int pageNo, int pageSize);
   ResponseResult getCameraSquare(String cameraIndexCode);
   ResponseResult updateCamera(Camera camera);
   ResponseResult addCameraSquare(CameraSquare cameraSquare);
   ResponseResult updateCameraSquare(CameraSquare cameraSquare);
   ResponseResult deleteCameraSquare(int id);
   ResponseResult getCameraSquareById(int id);
   ResponseResult updateCameraSquareById(CameraSquare cameraSquare);
   ResponseResult selectCameraByKeyword(String keyword, int pageNo, int pageSize);
   ResponseResult deleteCamera(int id);
   ResponseResult selectCameraById(int id);
   ResponseResult getCameraGroupById(int id);
   ResponseResult addCameraGroup(CameraGroup cameraGroup);
   ResponseResult deleteCameraGroup(int id);
   ResponseResult updateCameraGroupById(CameraGroup cameraGroup);
   ResponseResult selectCameraGroups(String keyword, int pageNo, int pageSize);
}